﻿#region

using System.Collections.Generic;
using System.ServiceModel;
using Lab.Common.Dto;

#endregion

namespace Lab.Server.WcfService.WcfService {
    [ServiceContract]
    public interface IWcfService {
        [OperationContract]
        void AddVacancy(DtoVacancy vacancy);

        [OperationContract]
        void AddEmployer(DtoEmployer employer);

        [OperationContract]
        void AddKindOfActivity(DtoKindOfActivity dtoKindOfActivity);

        [OperationContract]
        void AddApplicant(DtoApplicant dtoApplicant);

        [OperationContract]
        void AddSkill(DtoSkill dtoSkill);

        [OperationContract]
        void MakeDeal(DtoDeal dtoDeal);

        [OperationContract]
        ICollection<DtoVacancy> GetOpenVacancies();

        [OperationContract]
        List<DtoSkill> GetSkills();

        [OperationContract]
        List<DtoVacancy> GetAllVacancies();

        [OperationContract]
        List<DtoEmployer> GetEmployers();

        [OperationContract]
        List<DtoKindOfActivity> GetKindOfActivities();

        [OperationContract]
        List<DtoApplicant> GetApplicants();

        [OperationContract]
        List<DtoDeal> GetDeals();
    }
}